﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.TeamFoundation.VersionControl.Client;

namespace SourceControlAbstraction
{
    public class ChangePoint
    {
        public Change Change { get; protected set; }
        public Item Item { get; set; }

        public ChangePoint Previous { get; set; }
        public ChangePoint Next { get; set; }

        public int NumberOfChangesToNext { get; set; }
        public int NumberOfChangesToPrevious { get; set; }

        public ChangePoint(Item item)
        {
            Item = item;
            Change = null;
        }

        public ChangePoint(Item item, Change change):this(item)
        {
            Change = change;
        }
    }
}
